package com.wuzheng.wisgo.sanitation.cloud.repository.entity.picture;

import java.util.Date;

import com.baomidou.mybatisplus.annotations.TableField;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * @author：hoipang
 * @date：Created in 2019-12-11
 * @description：图片信息
 * @modified By：
 * @version: 1.0
 */
@ApiModel(value = "Picture", description = "图片信息")
@TableName("ba_picture")
public class Picture implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 主键ID
     */
    @ApiModelProperty(value = "主键ID")
    private String id;

    /**
     * 客户ID
     */
    @ApiModelProperty(value = "客户ID")
    @TableField("customer_id")
    private String customerId;

    /**
     * 图片所属模块
     */
    @ApiModelProperty(value = "图片所属模块")
    @TableField("picture_module")
    private String pictureModule;

    /**
     * 图片所属编码
     */
    @ApiModelProperty(value = "图片所属编码")
    @TableField("peference_id")
    private String peferenceId;

    /**
     * 图片文件名
     */
    @ApiModelProperty(value = "图片文件名")
    @TableField("picture_name")
    private String pictureName;

    /**
     * 图片类型id
     */
    @ApiModelProperty(value = "图片类型id")
    @TableField("picture_type_id")
    private String pictureTypeId;

    /**
     * 图片类型名称
     */
    @ApiModelProperty(value = "图片类型名称")
    @TableField("picture_type")
    private String pictureType;

    /**
     * 域名部分
     */
    @ApiModelProperty(value = "域名部分")
    @TableField("domain")
    private String domain;

    /**
     * 图片地址
     */
    @ApiModelProperty(value = "图片地址")
    @TableField("picture_url")
    private String pictureUrl;

    /**
     * 是否删除（0:未删除；1:删除）
     */
    @ApiModelProperty(value = "是否删除（0:未删除；1:删除）")
    @TableField("de_flag")
    private Boolean deFlag;

    /**
     * 创建人
     */
    @ApiModelProperty(value = "创建人")
    private String creator;

    /**
     * 创建时间
     */
    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Date createTime;

    /**
     * 修改人
     */
    @ApiModelProperty(value = "修改人")
    private String modifier;

    /**
     * 修改时间
     */
    @ApiModelProperty(value = "修改时间")
    @TableField("modify_time")
    private Date modifyTime;

    /**
     * IP地址
     */
    @ApiModelProperty(value = "IP地址")
    @TableField("ip_address")
    private String ipAddress;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getPictureModule() {
        return pictureModule;
    }

    public void setPictureModule(String pictureModule) {
        this.pictureModule = pictureModule;
    }

    public String getPeferenceId() {
        return peferenceId;
    }

    public void setPeferenceId(String peferenceId) {
        this.peferenceId = peferenceId;
    }

    public String getPictureName() {
        return pictureName;
    }

    public void setPictureName(String pictureName) {
        this.pictureName = pictureName;
    }

    public String getPictureTypeId() {
        return pictureTypeId;
    }

    public void setPictureTypeId(String pictureTypeId) {
        this.pictureTypeId = pictureTypeId;
    }

    public String getPictureType() {
        return pictureType;
    }

    public void setPictureType(String pictureType) {
        this.pictureType = pictureType;
    }

    public String getDomain() {
        return domain;
    }

    public void setDomain(String domain) {
        this.domain = domain;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public Boolean getDeFlag() {
        return deFlag;
    }

    public void setDeFlag(Boolean deFlag) {
        this.deFlag = deFlag;
    }

    public String getCreator() {
        return creator;
    }

    public void setCreator(String creator) {
        this.creator = creator;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public String getModifier() {
        return modifier;
    }

    public void setModifier(String modifier) {
        this.modifier = modifier;
    }

    public Date getModifyTime() {
        return modifyTime;
    }

    public void setModifyTime(Date modifyTime) {
        this.modifyTime = modifyTime;
    }

    public String getIpAddress() {
        return ipAddress;
    }

    public void setIpAddress(String ipAddress) {
        this.ipAddress = ipAddress;
    }

    @Override
    public String toString() {
        return "Picture{" +
                ", id=" + id +
                ", id=" + id +
                ", customerId=" + customerId +
                ", pictureModule=" + pictureModule +
                ", peferenceId=" + peferenceId +
                ", pictureName=" + pictureName +
                ", pictureTypeId=" + pictureTypeId +
                ", pictureType=" + pictureType +
                ", domain=" + domain +
                ", pictureUrl=" + pictureUrl +
                ", deFlag=" + deFlag +
                ", creator=" + creator +
                ", createTime=" + createTime +
                ", modifier=" + modifier +
                ", modifyTime=" + modifyTime +
                ", ipAddress=" + ipAddress +
                "}";
    }
}
